import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { RxjsComponent } from './rxjs.component';
import { RxjsSuggestionComponent } from './rxjs-suggestion.component';

const routes: Routes = [
    { path: '', component: RxjsComponent },
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule],
})
export class RxjsRoutingModule { }

export const routedComponents = [RxjsComponent, RxjsSuggestionComponent];
